{% extends "base.html" %}

{% block title %}银行卡挂失{% endblock %}

{% block content %}
<div class="container mt-4">
    <div class="card border-danger">
        <div class="card-header bg-danger text-white">
            <h4><i class="bi bi-exclamation-triangle"></i> 银行卡挂失</h4>
        </div>
        <div class="card-body">
            <form method="POST">
                <div class="mb-3">
                    <label class="form-label">输入要挂失的银行卡号</label>
                    <input type="text" class="form-control" name="card_id" required>
                </div>
                <div class="mb-3">
                    <label class="form-label">银行卡密码</label>
                    <input type="password" class="form-control" name="password" required>
                </div>
                <div class="alert alert-warning">
                    <i class="bi bi-exclamation-triangle-fill"></i>
                    重要提示：挂失后将立即冻结该卡所有交易功能，请谨慎操作！
                </div>
                <button type="submit" class="btn btn-danger">
                    <i class="bi bi-exclamation-octagon"></i> 确认挂失
                </button>
                <a href="{{ url_for('customer_dashboard') }}" class="btn btn-secondary">取消</a>
            </form>
        </div>
    </div>
</div>
{% endblock %}